package com.bootdo.appsystem.service;

import com.bootdo.appsystem.domain.RedrateDO;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chglee
 * @email 806181255@qq.com
 * @date 2018-06-07 10:00:30
 */
public interface RedrateService {
	
	RedrateDO get(Integer id);
	
	List<RedrateDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(RedrateDO redrate);
	
	int update(RedrateDO redrate);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	RedrateDO getByDescription(String description);


}
